<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Title</title>

    <link href="../../easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../../easyui/themes/icon.css" />

    <script src="../../easyui/jquery.min.js" type="text/javascript"></script>
    <script src="../../easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>

    <script src="../../js/common/constant.js" type="text/javascript"></script>
    <script src="../../js/common/common.js" type="text/javascript"></script>
    <script src="../../js/order/Init.js" type="text/javascript"></script>
    <script src="../../js/order/Add.js" type="text/javascript"></script>
    <script src="../../js/order/Update.js" type="text/javascript"></script>
    <script src="../../js/order/cancel.js" type="text/javascript"></script>
</head>

<body class="easyui-layout">
    <div id="tbs" class="easyui-tabs" style="padding:5px;width:100%;height:100%" border="false">
        <div title="订单提交" style="padding:5px;width:100%;height:100%">
            <div id="tbs1" region="center" style="padding:5px;height:100%" border="false">

            </div>
        </div>
        <div title="订单分配" style="padding:5px;width:100%;height:100%">
            <div id="tbs2" region="center" style="padding:5px;height:100%" border="false">
            </div>
        </div>
        <div title="订单确认" style="padding:5px;width:100%;height:100%">
            <div id="tbs3" region="center" style="padding:5px;height:100%" border="false">
            </div>
        </div>
        <div title="订单完成" style="padding:5px;width:100%;height:100%">
            <div id="tbs4" region="center" style="padding:5px;height:100%" border="false">
            </div>
        </div>
    </div>
    <div id="data" style="width:100%;height:100%">
        <table id="ordergrid">
        </table>
    </div>
    <div id="orderadd" class="easyui-window" title="添加订单" data-options="modal:true,inline:true,closed:true,minimizable:false,maximizable:false,iconCls:'icon-add'"
        style="width:420px;height:380px;padding:10px;">
        <form id="form1">
            <div style="padding: 15px 10px 10px 25px;">

                <table style="text-align: center; width: auto" cellpadding="2px">
                    <tr>
                        <td>
                            申报人姓名:
                        </td>
                        <td>
                            <input style="width: 250px;" class="easyui-textbox" type="text" data-options="required:true" name="username_add" id="username_add"
                            />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            申报人电话:
                        </td>
                        <td>
                            <input style="width: 250px;" class="easyui-textbox" type="text" data-options="required:true" name="iphone_add" id="iphone_add"
                            />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            收油地址:
                        </td>
                        <td>
                            <input style="width: 250px;" class="easyui-textbox" type="text" data-options="required:false" name="address_add" id="address_add"
                            />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            预收数量(桶):
                        </td>
                        <td>
                            <input style="width: 250px;" class="easyui-textbox" type="text" data-options="required:true" name="num_add" id="num_add"
                            />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            单位名称:
                        </td>
                        <td>
                            <input class="easyui-textbox" data-options="required:true" style=" width:250px;" name="orgname_add" id="orgname_add">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            备注:
                        </td>
                        <td>
                            <input class="easyui-textbox" data-options="required:false" style=" width:250px;height:100px" name="remark_add" id="remark_add">
                        </td>
                    </tr>
                </table>
            </div>
            <div style="text-align: center; padding: 5px 5px 10px 10px">

                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:ordersubmitForm()" id="submit" iconcls="icon-save">添加</a>
                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:ordercancel()" iconcls="icon-cancel">返回</a>

            </div>
        </form>
    </div>
    <div id="orderAllocating" class="easyui-window" title="分配订单" data-options="modal:true,inline:true,closed:true,minimizable:false,maximizable:false,iconCls:'icon-save'"
        style="width:400px;height:170px;padding:10px;">
        <form id="form2">
            <div style="padding: 15px 10px 10px 25px;">
                <input style="width: 250px; display:none" class="easyui-validatebox" type="text" data-options="required:true" name="orderid_allocating"
                    id="orderid_allocating" />
                <table style="text-align: center; width: auto" cellpadding="2px">
                    <tr>
                        <td>
                            收运人员:
                        </td>
                        <td>
                            <input class="easyui-combogrid" style="width: 250px" name="workerlist" id="workerlist" required="true" />
                        </td>
                    </tr>
                </table>
            </div>
            <div style="text-align: center; padding: 5px 5px 10px 10px">

                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:orderallocatform()" id="updateForm" iconcls="icon-save">分配</a>
                <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:ordercancel()" iconcls="icon-cancel">返回</a>

            </div>
        </form>
    </div>
    <div id="tb" style="padding:5px;height:auto">
        <div style="margin-bottom:5px">
            <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd()">添加</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="doAllocat()">分配</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cut" plain="true" onclick="doDelete()">删除</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="doConfirm()">确认</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="doComplete()">完成</a>
        </div>
        <div>
            收油地址:
            <input id="sendername" class="easyui-textbox" style="width:80px"> 单位名称:
            <input id="orgname" class="easyui-textbox" style="width:80px"> 收运人员姓名:
            <input id="brealname" class="easyui-textbox" style="width:80px">
            <!-- 订单状态:
            <input id="orderstatus" class="easyui-combobox" style="width:90px" data-options="					          url:'../../other/orderstatus.json',
                method:'get',
                valueField:'id',
                textField:'text',
                panelHeight:'auto'">-->
                 开始时间:
            <input id="startDt" class="easyui-datebox" style="width:80px"> 结束时间:
            <input id="endDt" class="easyui-datebox" style="width:80px">
            <a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="doSearch()">查询</a>
        </div>
    </div>
</body>

</html>